package Ja057;

import java.util.Comparator;

public class AgeComparator implements Comparator<PersonSortable2> {

	@Override
	public int compare(PersonSortable2 o1, PersonSortable2 o2) {
		
		return o1.getAge()-o2.getAge();
	}

}
